#include <stdio.h>
#include <stdlib.h>
#include "LinkList.h"
int main()
{
    List *q = NULL;
    q = Dlist_Init();
    int x;
    int i = 0;
    for (i = 0; i < 10; i++)
    {
        scanf("%d", &x);
        Dlist_InsUp(q, x);
        int kl;
        Dlist_GetNowData(q, &kl);
        printf("%d %d\n", x, kl);
    }
    Dlist_Print(q);
    Dlist_Clear(q);
    printf("%d\n", Dlist_IsEmpty(q));
    q = Dlist_Destory(q);
    if (q == NULL)
    {
        printf("q is NULL\n");
    }
}